const tableData = [
  {
    code: "GD2033",
    name: "汽车",
    province: "湖南",
    city: "长沙市",
    area: "天心区",
    num1: "589",
    num2: "45",
    date: "2024-03-05",
    address: "深圳 南山",
    num3: "4896"
  },
  {
    code: "HB0001",
    name: "3C数码",
    province: "广东",
    city: "深圳",
    area: "罗湖区",
    num1: "89",
    num2: "159",
    date: "2023-12-15",
    address: "上海 徐汇",
    num3: "78"
  },
  {
    code: "CE30695",
    name: "服饰",
    province: "江西",
    city: "南昌",
    area: "东湖区",
    num1: "56",
    num2: "595",
    date: "2023-10-25",
    address: "广东 佛山",
    num3: "26"
  },
  {
    code: "JK15863",
    name: "娱乐",
    province: "上海",
    city: "市辖区",
    area: "静安区",
    num1: "589",
    num2: "45",
    date: "2024-03-05",
    address: "深圳 南山",
    num3: "4896"
  },
  {
    code: "GD2033",
    name: "汽车",
    province: "湖南",
    city: "长沙市",
    area: "天心区",
    num1: "589",
    num2: "45",
    date: "2024-03-05",
    address: "深圳 南山",
    num3: "4896"
  },
  {
    code: "HB0001",
    name: "3C数码",
    province: "广东",
    city: "深圳",
    area: "罗湖区",
    num1: "89",
    num2: "159",
    date: "2023-12-15",
    address: "上海 徐汇",
    num3: "78"
  },
  {
    code: "CE30695",
    name: "服饰",
    province: "江西",
    city: "南昌",
    area: "东湖区",
    num1: "56",
    num2: "595",
    date: "2023-10-25",
    address: "广东 佛山",
    num3: "26"
  },
  {
    code: "JK15863",
    name: "娱乐",
    province: "上海",
    city: "市辖区",
    area: "静安区",
    num1: "589",
    num2: "45",
    date: "2024-03-05",
    address: "深圳 南山",
    num3: "4896"
  },
  {
    code: "GD2033",
    name: "汽车",
    province: "湖南",
    city: "长沙市",
    area: "天心区",
    num1: "589",
    num2: "45",
    date: "2024-03-05",
    address: "深圳 南山",
    num3: "4896"
  },
  {
    code: "HB0001",
    name: "3C数码",
    province: "广东",
    city: "深圳",
    area: "罗湖区",
    num1: "89",
    num2: "159",
    date: "2023-12-15",
    address: "上海 徐汇",
    num3: "78"
  },
  {
    code: "CE30695",
    name: "服饰",
    province: "江西",
    city: "南昌",
    area: "东湖区",
    num1: "56",
    num2: "595",
    date: "2023-10-25",
    address: "广东 佛山",
    num3: "26"
  },
  {
    code: "JK15863",
    name: "娱乐",
    province: "上海",
    city: "市辖区",
    area: "静安区",
    num3: "45",
    date: "2024-03-05",
    address: "深圳 南山",
    num3: "4896"
  },
  {
    code: "GD2033",
    name: "汽车",
    province: "湖南",
    city: "长沙市",
    area: "天心区",
    num1: "589",
    num2: "45",
    date: "2024-03-05",
    address: "深圳 南山",
    num3: "4896"
  },
  {
    code: "HB0001",
    name: "3C数码",
    province: "广东",
    city: "深圳",
    area: "罗湖区",
    num1: "89",
    num2: "159",
    date: "2023-12-15",
    address: "上海 徐汇",
    num3: "78"
  },
  {
    code: "CE30695",
    name: "服饰",
    province: "江西",
    city: "南昌",
    area: "东湖区",
    num1: "56",
    num2: "595",
    date: "2023-10-25",
    address: "广东 佛山",
    num3: "26"
  },
  {
    code: "JK15863",
    name: "教育",
    province: "湖北",
    city: "黄冈",
    area: "黄州区",
    num1: 99,
    num2: "59",
    date: "2024-01-06",
    address: "广东 广州 南沙",
    num3: "895"
  },
  {
    code: "GD2033",
    name: "汽车",
    province: "湖南",
    city: "长沙市",
    area: "天心区",
    num1: "589",
    num2: "45",
    date: "2024-03-05",
    address: "深圳 南山",
    num3: "4896"
  },
  {
    code: "HB0001",
    name: "3C数码",
    province: "广东",
    city: "深圳",
    area: "罗湖区",
    num1: "89",
    num2: "159",
    date: "2023-12-15",
    address: "上海 徐汇",
    num3: "78"
  },
  {
    code: "CE30695",
    name: "服饰",
    province: "江西",
    city: "南昌",
    area: "东湖区",
    num1: "56",
    num2: "595",
    date: "2023-10-25",
    address: "广东 佛山",
    num3: "26"
  },
  {
    code: "JK15863",
    name: "教育",
    province: "湖北",
    city: "黄冈",
    area: "黄州区",
    num1: 99,
    num2: "59",
    date: "2024-01-06",
    address: "广东 广州 南沙",
    num3: "895"
  },
  {
    code: "GD2033",
    name: "汽车",
    province: "湖南",
    city: "长沙市",
    area: "天心区",
    num1: "589",
    num2: "45",
    date: "2024-03-05",
    address: "深圳 南山",
    num3: "4896"
  },
  {
    code: "HB0001",
    name: "3C数码",
    province: "广东",
    city: "深圳",
    area: "罗湖区",
    num1: "89",
    num2: "159",
    date: "2023-12-15",
    address: "上海 徐汇",
    num3: "78"
  },
  {
    code: "CE30695",
    name: "服饰",
    province: "江西",
    city: "南昌",
    area: "东湖区",
    num1: "56",
    num2: "595",
    date: "2023-10-25",
    address: "广东 佛山",
    num3: "26"
  },
  {
    code: "JK15863",
    name: "教育",
    province: "湖北",
    city: "黄冈",
    area: "黄州区",
    num1: 99,
    num2: "59",
    date: "2024-01-06",
    address: "广东 广州 南沙",
    num3: "895"
  },
  {
    code: "GD2033",
    name: "汽车",
    province: "湖南",
    city: "长沙市",
    area: "天心区",
    num1: "589",
    num2: "45",
    date: "2024-03-05",
    address: "深圳 南山",
    num3: "4896"
  },
  {
    code: "HB0001",
    name: "3C数码",
    province: "广东",
    city: "深圳",
    area: "罗湖区",
    num1: "89",
    num2: "159",
    date: "2023-12-15",
    address: "上海 徐汇",
    num3: "78"
  },
  {
    code: "CE30695",
    name: "服饰",
    province: "江西",
    city: "南昌",
    area: "东湖区",
    num1: "56",
    num2: "595",
    date: "2023-10-25",
    address: "广东 佛山",
    num3: "26"
  },
  {
    code: "JK15863",
    name: "教育",
    province: "湖北",
    city: "黄冈",
    area: "黄州区",
    num1: 99,
    num2: "59",
    date: "2024-01-06",
    address: "广东 广州 南沙",
    num3: "895"
  },
  {
    code: "GD2033",
    name: "汽车",
    province: "湖南",
    city: "长沙市",
    area: "天心区",
    num1: "589",
    num2: "45",
    date: "2024-03-05",
    address: "深圳 南山",
    num3: "4896"
  },
  {
    code: "HB0001",
    name: "3C数码",
    province: "广东",
    city: "深圳",
    area: "罗湖区",
    num1: "89",
    num2: "159",
    date: "2023-12-15",
    address: "上海 徐汇",
    num3: "78"
  },
  {
    code: "CE30695",
    name: "服饰",
    province: "江西",
    city: "南昌",
    area: "东湖区",
    num1: "56",
    num2: "595",
    date: "2023-10-25",
    address: "广东 佛山",
    num3: "26"
  },
  {
    code: "JK15863",
    name: "教育",
    province: "湖北",
    city: "黄冈",
    area: "黄州区",
    num1: 99,
    num2: "59",
    date: "2024-01-06",
    address: "广东 广州 南沙",
    num3: "895"
  }
]
// 列数据1
const tableColums = [
  {
    fixed: "left",
    label: "序号",
    type: "index",
    width: "55",
    align: "center"
  },

  {
    prop: "num3",
    label: "圈数量",
    align: "center",
    minWidth: "145"
  },
  {
    prop: "num1",
    label: "商户数量",
    align: "center",
    width: "auto"
  },
  {
    prop: "num2",
    label: "直供商数量",
    align: "center",
    width: "auto"
  }
]

// 列数据2
const tableColums2left = [
  {
    fixed: "left",
    label: "序号",
    type: "index",
    width: "55",
    align: "center"
  },
  {
    fixed: "left",
    type: "selection",
    width: "50",
    align: "center"
  }
]
const tableColums2right = [
  {
    prop: "num1",
    label: "门店/商户数量",
    align: "center",
    width: "auto"
  },
  {
    prop: "num2",
    label: "直供商",
    align: "center",
    width: "auto"
  },
  {
    prop: "date",
    label: "创建时间",
    align: "center",
    width: "auto"
  },
  {
    prop: "address",
    label: "所在位置",
    align: "center",
    width: "auto"
  },
  {
    label: "操作",
    prop: "options",
    align: "center",
    width: 200,
    optionListAttrs: ({ row, $index }) => [
      {
        btnText: "查看",
        type: "primary",
        link: true
      },

      {
        btnText: "编辑",
        type: "warning",
        link: true
      }
    ]
  }
]

const leaderColumn = [
  {
    fixed: "left",
    label: "序号",
    type: "index",
    width: "55",
    align: "center"
  },
  {
    fixed: "left",
    type: "selection",
    width: "50",
    align: "center"
  },
  {
    prop: "code",
    label: "商户编码",
    align: "center",
    width: "auto"
  },
  {
    prop: "name",
    label: "店铺/商铺名",
    align: "center",
    width: "auto"
  },
  {
    prop: "name",
    label: "负责人",
    align: "center",
    width: "auto"
  },

  {
    prop: "num1",
    label: "联系方式",
    align: "center",
    width: "auto"
  },
  {
    prop: "date",
    label: "注册时间",
    align: "center",
    width: "auto"
  },

  {
    prop: "address",
    label: "来源",
    align: "center",
    width: "auto"
  },
  {
    prop: "address",
    label: "门店状态",
    align: "center",
    width: "auto"
  },
  {
    label: "操作",
    prop: "options",
    align: "center",
    width: 200,
    optionListAttrs: ({ row, $index }) => [
      {
        btnText: "查看",
        type: "primary",
        link: true
      },

      {
        btnText: "删除",
        type: "danger",
        link: true
      }
    ]
  }
]
const shoppingColumn = [
  {
    fixed: "left",
    type: "selection",
    width: "50",
    align: "center"
  },
  {
    prop: "code",
    label: "地区编码",
    align: "center",
    width: "auto"
  },
  {
    prop: "province",
    label: "省",
    align: "center",
    width: "auto"
  },
  {
    prop: "city",
    label: "市",
    align: "center",
    width: "auto"
  },

  {
    prop: "area",
    label: "区",
    align: "center",
    width: "auto"
  },
  {
    prop: "fullAddress",
    label: "小区",
    align: "center",
    width: "auto"
  },
  {
    prop: "num3",
    label: "商铺数量",
    align: "center",
    width: "auto"
  },
  {
    prop: "date",
    label: "建立时间",
    align: "center",
    width: "auto"
  }
]

const treeData = [
  {
    id: 1,
    label: "Level one 1",
    children: [
      {
        id: 4,
        label: "Level two 1-1",
        children: [
          {
            id: 9,
            label: "Level three 1-1-1"
          },
          {
            id: 10,
            label: "Level three 1-1-2"
          }
        ]
      }
    ]
  },
  {
    id: 2,
    label: "Level one 2",
    children: [
      {
        id: 5,
        label: "Level two 2-1"
      },
      {
        id: 6,
        label: "Level two 2-2"
      }
    ]
  },
  {
    id: 3,
    label: "Level one 3",
    children: [
      {
        id: 7,
        label: "Level two 3-1"
      },
      {
        id: 8,
        label: "Level two 3-2"
      }
    ]
  }
]
export { tableData, tableColums, tableColums2left, tableColums2right, leaderColumn, shoppingColumn, treeData }
